<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //创建Symbol
        let s = Symbol;
        console.log(s);

        let s1 = Symbol('尚硅谷');
        
        //Symbol.for创建
        let s2 = Symbol.for('尚硅谷');
        console.log(s2);

        //不能与其他数据进行运算
        //现在js有七大数据类型
        //undefined  null string number  object boolean symbol
    </script>
</body>
</html>